package com.goods.common.model.business;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "biz_in_stock")
public class InStock {
    @Id
    private Long id;
    private String inNum;//入库单编号
    private Integer type;//类型：1：捐赠，2：下拨，3：采购,4:退货入库

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modified;

    private String operator;//操作人员
    private Integer productNumber;//物资总数
    private Long supplierId;//来源
    private String remark;//描述信息
    private Integer status;//状态 0:正常入库单,1:已进入回收,2:等待审核
}
